home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / i / internet / software / www / stik / scripts / ucdavis / dial.scr < prev    next >
Encoding:
Text File  |  1995-10-31  |  3.4 KB  |  124 lines

  1. #
  2. #   Dial script file for STiK.ACC
  3. #
  4. #   for Zynet - tested on a 14Mb Falcon TOS 4.04
  5. #
  6. #   There are two parts to the connection process.
  7. #
  8. #   The first part is initialising the modem, dialing a remote system
  9. #   and establishing a connection to a remote modem.
  10. #
  11. #   The second part is to log into the remote computer.  This will
  12. #   involve entering a username and password, selecting SLIP mode,
  13. #   and reading the Internet Address that your system will have for
  14. #   the duration of the session.
  15. #
  16. #
  17. #   Dial Script Part 1  -  Establishing the connection.
  18. #
  19. #   The first thing to do is to specify the speed of the modem with
  20. #   the BAUD_RATE variable.
  21. #
  22. BAUD_RATE = 19200
  23. #
  24. #
  25. #   Next you should define how your modem responds to the DTR
  26. #   signal.  STiK will use the DTR signal to hangup the modem
  27. #   if HANGUP = DTR is set.  Otherwise set HANGUP to the
  28. #   appropriate hangup string for your modem. (eg: HANGUP = ATH)
  29. #
  30. HANGUP = ATH0
  31. #
  32. #
  33. #   PREFIX sets the dial prefix (ie: ATD, ATDT, ATDP)
  34. #
  35. PREFIX = ATDT
  36. #
  37. #
  38. #   INIT set the string you can use to initialise the modem.
  39. #   This string turns off modem compression.
  40. #
  41. INIT = AT%C0
  42. #
  43. #   Dialing paramaters.
  44. #
  45. #   The dialing parameters are CONNECT_WAIT and REDIAL_DELAY.  These
  46. #   are times in seconds.  CONNECT_WAIT is the amount of time to wait
  47. #   for a connection after dialing a number.  REDIAL_DELAY is the amount
  48. #   of time to wait in between dial attempts.
  49. #
  50. CONNECT_WAIT = 45
  51. REDIAL_DELAY = 20
  52. #
  53. #
  54. #   Phone Number(s).  PHONE_NUMBER = number.  Some providers
  55. #   have more than one number you can dial.  You can specify
  56. #   up to five phone numbers here.
  57. #
  58. PHONE_NUMBER = 7527925
  59. #
  60. #
  61. #
  62. #   Determining connection success/failure.
  63. #
  64. #   Connection success can be determined either by detecting the
  65. #   modems Carrier Detect signal (SUCCESS = CDWAIT), or waiting 
  66. #   for a CONNECT response (SUCCESS = CONNECT) from the modem.
  67. #   Failure can be determined by a timeout or a modem response
  68. #   such as NO CARRIER, BUSY, NO DIALTONE etc.
  69. #   Up to five FAILURE test words can be set.
  70. #
  71. SUCCESS = CONNECT
  72. FAILURE = BUSY
  73. FAILURE = NO CARRIER
  74. FAILURE = NO DIALTONE
  75. #
  76. #
  77. #
  78. #   Dial Script Part 2  -  Log in to the Service Provider.
  79. #
  80. #   The STiK dialer uses the standard `conversational' method for
  81. #   login to the provider.  This involves searching for certain
  82. #   words and sending an appropriate response.  The special
  83. #   response $GET_IP is used to read the IP address that your
  84. #   provider has assigned you for this session.  If your provider
  85. #   has allocated you a permanent IP Address, then you should set
  86. #   it in the default.cfg file and NOT use $GET_IP.
  87. #
  88. #   Each step of the `conversation' is specified as a FIND line
  89. #   and a RESP line.  There can be up to 10 steps.  Each FIND
  90. #   must have a matching RESP, or the dialer will get confused.
  91. #
  92. #   By default each RESP line is sent with a carriage return
  93. #   character at the end.  If you need to use a line feed character
  94. #   instead then put a | at the end of the line.  This only works
  95. #   if the | is the last character of the line.
  96. #
  97. WAIT 1500
  98. FIND = 
  99. RESP = /
  100. #
  101. WAIT 1500
  102. FIND = 
  103. RESP = /
  104. #
  105. WAIT 1500
  106. FIND = 
  107. RESP = /
  108. #
  109. WAIT
  110. FIND = Username:
  111. RESP = szhays (this will change from user to user)
  112. #
  113. WAIT
  114. FIND = Password:
  115. RESP = ***, i.e. I'm not telling ;-)
  116. #
  117. WAIT
  118. FIND = Request>
  119. RESP = slip
  120. #
  121. WAIT
  122. FIND = Your IP address is
  123. RESP = $GET_IP
  124.